﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="原辅料及资金安排计划.aspx.cs" Inherits="syc.Sale.原辅料及资金安排计划" %>


<head runat="server">
    <title></title>
</head>
<body>
<script type="text/javascript" language="javascript" src="/common.js"></script>
    <form id="form1" runat="server">
    <div id="wintop" class="wintop">主要原、辅料及资金安排计划表</div>
        <asp:Panel ID="Panel3" runat="server" CssClass="panel">
            年份：<asp:DropDownList ID="Year0" runat="server">
            <asp:ListItem>2009</asp:ListItem>
            <asp:ListItem>2010</asp:ListItem>
            <asp:ListItem>2011</asp:ListItem>
            <asp:ListItem>2012</asp:ListItem>
            <asp:ListItem>2013</asp:ListItem>
            <asp:ListItem>2014</asp:ListItem>
            <asp:ListItem>2015</asp:ListItem>           
            </asp:DropDownList>
            &nbsp;月份：<asp:DropDownList ID="Month0" runat="server">
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
            <asp:ListItem>5</asp:ListItem>
            <asp:ListItem>6</asp:ListItem>
            <asp:ListItem>7</asp:ListItem>
            <asp:ListItem>8</asp:ListItem>
            <asp:ListItem>9</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
            <asp:ListItem>一季度</asp:ListItem>
            <asp:ListItem>二季度</asp:ListItem>
            <asp:ListItem>三季度</asp:ListItem>
            <asp:ListItem>四季度</asp:ListItem>
            </asp:DropDownList>
            <span lang="zh-cn">&nbsp; &nbsp;<asp:Button ID="Button_Query" runat="server" CssClass="button" 
                onclick="Button_Query_Click" Text="查看报表" UseSubmitBehavior="true" />
            <asp:Button ID="Button_Save" runat="server" CssClass="button" 
                onclick="Button_Save_Click" Text="导 出" UseSubmitBehavior="False" />
            </span></asp:Panel>
        <asp:Panel ID="Panel2" runat="server" CssClass="panel2">
            <asp:Label ID="Message" runat="server" Text="·准备就绪" CssClass="prompt"></asp:Label>
        </asp:Panel>
    
    <div align="center"><h2><%=this.Month0.SelectedItem.Text%>月份主要原、辅料及资金安排计划表</h2></div>
    <div align="center">  
     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="SqlDataSource1" style="text-align: center" BorderColor="Black" 
                BorderStyle="Solid" BorderWidth="2px" Width="80%" >
                 <RowStyle Height="22px" />
                 <HeaderStyle Height="40px" />                
            <Columns>             
                <asp:BoundField DataField="品名" HeaderText="名称" SortExpression="品名" />
                <asp:BoundField DataField="规格" HeaderText="规格" SortExpression="规格" />
                <asp:BoundField DataField="单位" HeaderText="单位" SortExpression="单位" />
                <asp:BoundField DataField="库存" HeaderText="实有库存" SortExpression="库存" />
                <asp:BoundField DataField="计划购进量" HeaderText="计划购进" SortExpression="计划购进" />
                <asp:BoundField DataField="单价" HeaderText="单价" SortExpression="单价" />
                <asp:BoundField DataField="金额" HeaderText="全月支付" SortExpression="金额" />
            </Columns>
        </asp:GridView>
        </div>
    
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SCMConnectionString1 %>" 
            ></asp:SqlDataSource>
    </div>
    </form>
    <script>parent.hidesubmenu(true);</script>
</body>
</html>
